'''
Created on May 8, 2012

@author: lavang
'''
import unittest


# link Add test
def xpathLinkAddTest():
    return "//a[contains(text(),'Add test')]"

# Cbb parent unit
def xpathCbbParentUnit():
    return "//select[@name='parent_content']"

# Test's name
def xpathTxtName():
    return "//input[@name='name']"

# Test duration
def xpathTxtDuration():
    return "//input[@id='test_duration']"

# repetition
def xpathTxtRepetition():
    return "//input[@name='redoable']"

# maintain history
def xpathTxtMaintainHistory():
    return "//input[@name='maintain_history']"

# master score
def xpathTxtMasterScore():
    return "//input[@name='mastery_score']"

# button submit test
def xpathBtnSubmitTest():
    return "//input[@name='submit_test']"

# link Tests (back to Tests page)
def xpathLinkTests():
    return "//a[contains(text(),'Tests')]"